package pers.zc.activiti.thread.demo;

import org.springframework.stereotype.Service;
import pers.zc.activiti.utils.SpringContextUtils;

/**
 * @description
 * @Author Lin FuYuan
 * @date 2020/5/26
 */
@Service
public class TestDemoOne {


    public void test() {
        for (int i = 0; i <10 ; i++) {
            try {
                SpringContextUtils.getBean(AsyncDemoOne.class).testAsync();
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }
    }


}
